#ifndef EVENT_H
#define EVENT_H

#include <vector>

namespace me
{

    class Event
    {
        public:
            Event();
            virtual ~Event();

            virtual void trigger();
            virtual void addHandler(void (*handler)());
        protected:
        private:
            std::vector<void(*)()> handlers;
    };

}

#endif // EVENT_H
